package net.vinote.smart.platform.service.dw.html;

public class SpanTag extends HtmlTag {
	private String htmlTemplate = "<input type='hidden' #attributes value='#value'/><span id='#spanID'>#value</span>";

	public SpanTag(HtmlTag htmlTag) {
		super(htmlTag);
	}

	@Override
	protected String getHtmlTemplate() {
		return htmlTemplate;
	}

	@Override
	protected void initPlaceHolder() {
		placeholder.put("#value", getValue());
		placeholder.put("#spanID", "span_" + getId());
	}
}
